<link rel="stylesheet" href="<?php echo base_url()?>css/coin-slider-styles.css" type="text/css" />
<script type="text/javascript" src="<?php echo base_url()?>js/coin-slider.js"></script>
   <div id="id_bannerContainer" style="text-align:center;width:100%">
   		<?php 
		$tmp_obj = Oget_home_slide();
		$link = '';
		foreach($tmp_obj  as $obj)
		{
			$link = ($obj['ctag']=='')?'#':$obj['ctag'];
	?>
		<a href="<?php echo $link; ?>"><img src="<?php echo base_url().'upload/slide/'.$obj['cimage'] ?>" /></a>
	<?php 
		}
	?>
   </div>


 <style type="text/css">
	.home_slide{overflow:hidden;}
</style>

<script type="text/javascript">
		$('#id_bannerContainer').coinslider({
			width: 948,
			height: 242,
			delay: 2500
			
		});	
</script>  